package com.ihisomp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ihisomp.dto.SysUserDto;
import com.ihisomp.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * <p>
 * 用户信息 Mapper 接口
 * </p>
 *
 * @author zy
 * @since 2022-04-15
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 分页查询
     *
     * @param page
     * @param req
     * @return
     */
    IPage<SysUser> searchPage(IPage<SysUser> page, @Param("req") SysUserDto req);
}
